import fs from "node:fs"

export const ICONS = fs.readFileSync(`src/assets/icons.svg`, {
	encoding: "utf-8",
})

/** @param {string} name */
export const hasIcon = (name) => ICONS.includes(`id="${name}"`)
